import { optionType } from './type';
export const loadNames: optionType[] = [
  {
    label: '飞行载荷',
    value: 'flight_load',
    children: [
      {
        label: '飞行垂向',
        value: 'flight_vertical',
        children: [
          {
            label: '开减速板',
            value: '1'
          },
          {
            label: '关减速板',
            value: '2'
          },
          {
            label: '滚转动机',
            value: '3'
          }
        ]
      },
      {
        label: '飞行侧向',
        value: 'flight_lateral',
        children: [
          {
            label: '偏航机动与发动机失效',
            value: '1'
          },
          {
            label: '往复偏转',
            value: '2'
          },
          {
            label: '直接模式',
            value: '3'
          }
        ]
      }
    ]
  },
  {
    label: '地面载荷',
    value: 'ground_load',
    children: [{ label: '地面载荷', value: 'ground_load', children: [{ label: '地面载荷', value: '1' }] }]
  },
  {
    label: '动载荷',
    value: 'dynamic_load',
    children: [
      {
        label: '动突风',
        value: 'dynamic_gust',
        children: [
          { label: '垂向连续', value: '1' },
          { label: '垂向离散', value: '2' },
          { label: '侧向连续', value: '3' },
          { label: '侧向离散', value: '4' }
        ]
      },
      {
        label: '动着陆',
        value: 'dynamic_land',
        children: [{ label: '动着陆', value: '1' }]
      },
      {
        label: '动滑行',
        value: 'dynamic_slide',
        children: [{ label: '动滑行', value: '1' }]
      },
      {
        label: '非对称突风',
        value: 'asymmetric_gust',
        children: [{ label: '非对称突风', value: '1' }]
      }
    ]
  },
  {
    label: '1g载荷',
    value: '1g_load',
    children: [
      {
        label: '着陆1g',
        value: 'land_1g',
        children: [
          { label: '3+S卡0推力', value: '1' },
          { label: '3+S卡有推力', value: '2' },
          { label: '4卡0推力', value: '3' },
          { label: '4卡有推力', value: '4' }
        ]
      },
      {
        label: '突风1g',
        value: 'gust_1g',
        children: [
          { label: '开减速板', value: '1' },
          { label: '关减速板', value: '2' }
        ]
      }
    ]
  }
];
export const aircraftTypes: optionType[] = [
  {
    label: 'C909',
    value: 'C909'
  },
  {
    label: 'C919',
    value: 'C919'
  },
  {
    label: 'C929',
    value: 'C929'
  }
];
export const stages: optionType[] = [
  {
    label: 'G1-G2',
    value: '1'
  },
  {
    label: 'G2-G3',
    value: '2'
  },
  {
    label: 'G3-G4',
    value: '3'
  },
  {
    label: 'G4-G5',
    value: '4'
  },
  {
    label: 'G5-G6',
    value: '5'
  },
  {
    label: 'G6-G7',
    value: '6'
  },
  {
    label: 'G7-G8',
    value: '7'
  },
  {
    label: 'G8-G9',
    value: '8'
  },
  {
    label: 'G9-G10',
    value: '9'
  }
];
export const versionStates: optionType[] = [
  {
    label: '使用中',
    value: '1'
  },
  {
    label: '已作废',
    value: '2'
  }
];
export const runingStates: optionType[] = [
  {
    label: '待开始',
    value: '待开始'
  },
  {
    label: '运行中',
    value: '运行中'
  },
  {
    label: '已完成',
    value: '已完成'
  },
  {
    label: '已终止',
    value: '已终止'
  },
  {
    label: '已暂停',
    value: '已暂停'
  },
  {
    label: '运行错误',
    value: '运行错误'
  }
];
export const steps: optionType[] = [
  {
    label: '载荷数据检查',
    value: '1',
    children: [
      {
        label: '飞行垂向',
        value: 'flight_vertical'
      },
      {
        label: '飞行侧向',
        value: 'flight_lateral'
      },
      {
        label: '非对称突风',
        value: 'asymmetric_gust'
      }
    ]
  },
  {
    label: '载荷筛选',
    value: '2',
    children: [{ label: '地面载荷', value: 'ground_load' }]
  },
  {
    label: '载荷分载',
    value: '3',
    children: [
      {
        label: '动突风',
        value: 'dynamic_gust'
      },
      {
        label: '动着陆',
        value: 'dynamic_land'
      },
      {
        label: '动滑行',
        value: 'dynamic_slide'
      }
    ]
  }
];
export const algorithmStates: optionType[] = [
  {
    label: '运行中',
    value: '1'
  },
  {
    label: '已作废',
    value: '2'
  }
];
